package com.jiliang.auth.domain;



import com.jiliang.auth.dao.model.AuthUserFunc;

import java.util.List;

/**
 * @author lpp
 * @version 1.0
 * @Date 2018/8/15 16:14
 */
public class AuthUserFuncBo extends AuthUserFunc {

    /**
     * 排序参数
     */
    private Integer sortParam;
    /**
     * 多个功能id用“|”分割
     */
    private String funcIds;
    /**
     * 功能类型
     */
    private String type;
    /**
     * 功能名称
     */
    private String name;
    /**
     * 功能链接
     */
    private String url;
    /**
     * 功能图标
     */
    private String icon;
    /**
     * 功能级别
     */
    private Integer rank;
    /**
     * 功能父级id
     */
    private Long parentFuncId;
    /**
     * 是否末节点
     */
    private Byte isEnd;

    /**
     * 功能id集合
     * @author lpp
     * @date 2019/8/21 11:16
     */
    private List<Long> funcIdList;

    private String authName;

    public String getAuthName() {
        return authName;
    }

    public void setAuthName(String authName) {
        this.authName = authName;
    }

    public List<Long> getFuncIdList() {
        return funcIdList;
    }

    public void setFuncIdList(List<Long> funcIdList) {
        this.funcIdList = funcIdList;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public Integer getRank() {
        return rank;
    }

    public void setRank(Integer rank) {
        this.rank = rank;
    }

    public Long getParentFuncId() {
        return parentFuncId;
    }

    public void setParentFuncId(Long parentFuncId) {
        this.parentFuncId = parentFuncId;
    }

    public Integer getSortParam() {
        return sortParam;
    }

    public void setSortParam(Integer sortParam) {
        this.sortParam = sortParam;
    }

    public String getFuncIds() {
        return funcIds;
    }

    public void setFuncIds(String funcIds) {
        this.funcIds = funcIds;
    }

    public Byte getIsEnd() {
        return isEnd;
    }

    public void setIsEnd(Byte isEnd) {
        this.isEnd = isEnd;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("AuthUserFuncBo{");
        sb.append("sortParam=").append(sortParam);
        sb.append(", funcIds='").append(funcIds).append('\'');
        sb.append(", type='").append(type).append('\'');
        sb.append(", name='").append(name).append('\'');
        sb.append(", url='").append(url).append('\'');
        sb.append(", icon='").append(icon).append('\'');
        sb.append(", rank=").append(rank);
        sb.append(", parentFuncId=").append(parentFuncId);
        sb.append(", isEnd=").append(isEnd);
        sb.append(", funcIdList=").append(funcIdList);
        sb.append(", authName='").append(authName).append('\'');
        sb.append("super:").append(super.toString());
        sb.append('}');
        return sb.toString();
    }
}
